package com.mihoyo.basic.mapper;

import com.mihoyo.basic.query.BaseQuery;
import java.util.List;

public interface IBaseMapper<T> {
    List<T> findAll();

    T findById(Long id);

    void update(T t);

    void add(T t);

    void delete(Long id);

    Integer queryByCount(BaseQuery baseQuery);

    List<T> queryByPage(BaseQuery baseQuery);

    void batchDelete(List<Long> ids);
}
